package com.zabra.zl.ui.allocation_plan.model;

import com.zabra.zl.data.MoneyRuleBean;
import com.zabra.zl.data.MultipleRuleBean;
import com.zabra.zl.net.RetrofitClient;
import com.zabra.zl.ui.allocation_plan.contract.AllocationPlanContract;

import retrofit2.Call;

public class AllocationPlanModel implements AllocationPlanContract.Model {
    @Override
    public Call<MoneyRuleBean> getMoneyRuleData(int bpType) {
        return RetrofitClient.getInstance().getApi().getMoneyRuleData(bpType);
    }

    @Override
    public Call<MultipleRuleBean> getMultipleRuleData(int bpType) {
        return RetrofitClient.getInstance().getApi().getMultipleRuleData(bpType);
    }
}
